//
//  CCQTestViewController.swift
//  NEWweibo
//
//  Created by 神威 on 16/9/20.
//  Copyright © 2016年 ccq. All rights reserved.
//

import UIKit

class CCQTestViewController: UIViewController {
    
    override func viewDidLoad() {
        super.viewDidLoad()
        view.backgroundColor = UIColor.white
        
        addNavRightButton()
    }
    
    private func addNavRightButton() {
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "push", target: self, action: #selector(pushAction))
        
    }
    
    //  点击事件
    func pushAction() -> Void {
        let testVc = CCQTestViewController()
        navigationController?.pushViewController(testVc, animated: true)
        
        
    }

  
    
    



}
